package com.e.h.sheep.etalk;


import java.util.ArrayList;

import android.accounts.Account;
import android.accounts.AccountManager;
import android.content.Context;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceManager;

public class AccountSet extends PreferenceActivity{

	private static final String OPT_ID = "id";
    private static final String OPT_PASS = "pass";

    public AccountSet(){
    	
    }
    
    
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addPreferencesFromResource(R.layout.preference);

    }

    public static String getID(Context context) {     // ID用ゲッタの定義
    	return PreferenceManager.getDefaultSharedPreferences(context).getString(OPT_ID, "");
    }

    public static String getPass(Context context) {   // PASSWORD用ゲッタの定義
    	return PreferenceManager.getDefaultSharedPreferences(context).getString(OPT_PASS, "");
    	
    }
    
    
   

    
}
